<template>
    <div class="authInfo">
        <div class="auth-warp-head">
            <img :src="headbgimg" class="authbgimg"/>
            <div class="authheaderimg">
                <el-avatar :size="80" :src="headImg"></el-avatar>
            </div>
        </div>
        <div class="auth-mian">
            <p class="auth-name">原野小站</p>
            <p class="auth-desc">把最实用的经验，分享给最需要的读者，希望每一位来访的朋友都能有所收获！</p>
        </div>
        <div class="auth-wrap-footer">
            <div class="auth-contact">
                <el-button>微信</el-button>
                <el-button>QQ</el-button>
                <el-button>商店</el-button>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['headbgimg', 'headImg', 'motto']

}
</script>

<style scoped>
.authInfo {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 0px;
    margin-bottom: 10px;
}
.auth-warp-head{
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}
.authbgimg {
    width: 100%;
}
.authheaderimg {
    position: absolute;
    left: 50%;
    bottom: -30px;
    margin-left: -40px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
}
.auth-wrap-footer {
    border-top: #ddd dashed 1px;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}
.auth-mian {
    text-align: center;
    padding: 0 10px;
}
.auth-name {
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}
.auth-desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}
.auth-contact {
    padding: 10px 0px;
}
</style>